* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.jd-list {
    width: 100%;
    min-width: 1200px;
}

header {
    width: 100%;
    background-color: #fff;
}

.nav {
    width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
}

.nav>.logo>img {
    width: 121px;
    height: 75px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-list {
    display: flex;
    margin-left: 160px;
    padding: 24px 0;
    color: #27ae60;
    font-size: 16px;
}

.nav-list>li {
    position: relative;
    margin-right: 48px;
    cursor: pointer;
}

.nav-list>li::after {
    content: '';
    position: absolute;
    top: 6px;
    right: -24px;
    width: 1px;
    height: 16px;
    background-color: #2ecc71;
}

.nav-list>li:last-child::after {
    display: none;
}

.login{
    margin-left: auto;
    color: #2ecc71;
    cursor: pointer;
    text-decoration: underline;
}

/* 主体内容 */
.main {
    background: #f6f7f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main > .content{
    margin: auto;
    width: 1200px;
}

.main > .content > .search{
    display: flex;
    justify-content: space-between;
}

.search-input{
    width: 320px;
    padding: 0 12px;
}

.type-list{
    display: flex;
    gap: 40px;
    align-items: center;
}

.type-active{
    font-size: 20px;
    border-bottom: 2px solid #27ae60;
}

.type-title {
    margin: 20px 0;
}

.type-title > .top{
    font-size: 20px;
}

.type-title > .bottom{
    color: #676767;
}

.prodcut-list{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.prodcut-item{
    flex: 0 0 calc(25% - 15px);
    /* background-color: #27ae60; */
}

.prodcut-item > img{
    width: 100%;
    border-radius: 8px;
}

.prodcut-name{
    margin-bottom: 10px;
    padding-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.prodcut-name > span{
    padding: 2px 4px;
    color: #fff;
    font-size: 14px;
    background-color: #333;
    border: 1px solid transparent;
}

.gf{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.prodcut-name > .level{
    margin-right: 10px;
    font-size: 12px;
    color: #000;
    background-color: transparent;
    border-color: #000;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.prodcut-brand{
    font-size: 14px;
    border-bottom: 1px solid #676767;
}

.prodcut-item > .price{
    margin-top: 10px;
    color: #27ae60;
    font-size: 20px;
    font-weight: bold;
}

.prodcut-item  > .price span {
    color: #999;
    font-size: 12px;
    font-weight: normal;
    text-decoration: line-through;
    margin-left: 10px;
}

footer {
    width: 100%;
    border-top: 8px solid #ff483c;
}

.footer-container {
    width: 1200px;
    min-height: 150px;
    margin: auto;
    display: flex;
    align-items: center;
}

.footer-container>.logo>img {
    width: 136px;
    height: 75px;
}

.footer-container>.des {
    margin-left: 100px;
    font-size: 26px;
    color: #111111;
}

.footer-container>.right {
    margin-left: auto;
}

.footer-container>.right>img {
    width: 360px;
}
